//
//  TabBarViewController.m
//  ALFashion
//
//  Created by dengzhicheng on 15/6/15.
//  Copyright (c) 2015年 dengzhicheng. All rights reserved.
//

#import "TabBarViewController.h"
#import "MenuView.h"
#import "MainViewController.h"
#import "StyleViewController.h"
#import "AccessoriesViewController.h"
#import "BeautyViewController.h"
#import "LifeStyleViewController.h"
#import "CelebrityViewController.h"
#import "ProfileViewController.h"
#import "FavoriteViewController.h"
#import "SettingViewController.h"

@interface TabBarViewController ()
@property (strong, nonatomic) MenuView *menuView;

@end

@implementation TabBarViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.tabBar.hidden = YES;
    // Do any additional setup after loading the view.
    
    MainViewController *main = [[MainViewController alloc] init];
    UINavigationController *nav1 = [[UINavigationController alloc] initWithRootViewController:main];
    
    StyleViewController *styleVC = [[StyleViewController alloc] init];
    UINavigationController *nav2 = [[UINavigationController alloc] initWithRootViewController:styleVC];

    AccessoriesViewController *acc = [[AccessoriesViewController alloc] init];
    UINavigationController *nav3 = [[UINavigationController alloc] initWithRootViewController:acc];
    
    BeautyViewController *beauty = [[BeautyViewController alloc] init];
    UINavigationController *nav4 = [[UINavigationController alloc] initWithRootViewController:beauty];
    
    LifeStyleViewController *life = [[LifeStyleViewController alloc] init];
    UINavigationController *nav5 = [[UINavigationController alloc] initWithRootViewController:life];
    
    CelebrityViewController *cele = [[CelebrityViewController alloc] init];
    UINavigationController *nav6 = [[UINavigationController alloc] initWithRootViewController:cele];


    [self setViewControllers:@[nav1, nav2, nav3, nav4, nav5, nav6]];
    
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
